import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:yysk_app/utils/colors.dart';
import 'package:yysk_app/utils/helper.dart';
import 'package:yysk_app/widget/custom_app_bar2.dart';
import 'package:yysk_app/widget/image_asset_widget.dart';

class AuthAuditPage extends StatelessWidget {
  static const path = '/authAudit';
  const AuthAuditPage({super.key});
  
  @override
  Widget build(BuildContext context) {
    final double top = MediaQuery.of(context).padding.top;
    return Scaffold(
      body: Stack(
          children: [
            //添加背景色，代码如下：
            SizedBox(
              width: context.width,
              child: ImageAssetWidget(
                width: double.infinity,
                height: 173.px,
                imageUrl: 'static/images/wallet/top_bg.png',
              ),
            ),
            Padding(
              padding: EdgeInsets.fromLTRB(0, top, 0, 24.px),
              child: Column(
                  children: [
                    CustomAppBar2(title: '认证评估', context: context),
                    Expanded(
                      child: Column(
                        mainAxisAlignment: MainAxisAlignment.center,
                        children: [
                           SizedBox(height: 56.px),
                          // 失败icon
                          ImageAssetWidget(
                            imageUrl: 'static/images/wallet/open_wallet_review.png',
                            width: 148,
                            height: 130,
                          ),
                           SizedBox(height: 22.px),
                           Text('认证已提交审核，请耐心等待\n预计1~3个工作日审核完成', style: TextStyle(color: AppColors.fontColorBlack, fontSize: 14.px,), textAlign: TextAlign.center),
                          Spacer(),
                        ],
                      ),
                    ),
                  ],
                ),
            ),
          ],
        ),
      
      // Column(
      //   mainAxisAlignment: MainAxisAlignment.center,
      //   children: [
      //     const Spacer(),
      //     Center(
      //       child: Container(
      //         width: 160,
      //         height: 160,
      //         decoration: BoxDecoration(
      //           shape: BoxShape.circle,
      //           color: const Color(0xFFB2E9E2).withOpacity(0.3),
      //           border: Border.all(color: const Color(0xFFB2E9E2), width: 4),
      //         ),
      //         alignment: Alignment.center,
      //         child: const Text('审', style: TextStyle(fontSize: 64, color: Color(0xFF6CBF3C), fontWeight: FontWeight.bold)),
      //       ),
      //     ),
      //     const SizedBox(height: 32),
      //     const Text('认证已提交审核，请耐心等待\n预计1~3个工作日审核完成',
      //         textAlign: TextAlign.center,
      //         style: TextStyle(fontSize: 18.px, color: Colors.black87)),
      //     const Spacer(),
      //   ],
      // ),
    );
  }
} 